package com.zenchn.model;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class TSysCriticalOperatingLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TSysCriticalOperatingLogExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLogIdIsNull() {
            addCriterion("log_id is null");
            return (Criteria) this;
        }

        public Criteria andLogIdIsNotNull() {
            addCriterion("log_id is not null");
            return (Criteria) this;
        }

        public Criteria andLogIdEqualTo(String value) {
            addCriterion("log_id =", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotEqualTo(String value) {
            addCriterion("log_id <>", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdGreaterThan(String value) {
            addCriterion("log_id >", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdGreaterThanOrEqualTo(String value) {
            addCriterion("log_id >=", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLessThan(String value) {
            addCriterion("log_id <", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLessThanOrEqualTo(String value) {
            addCriterion("log_id <=", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLike(String value) {
            addCriterion("log_id like", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotLike(String value) {
            addCriterion("log_id not like", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdIn(List<String> values) {
            addCriterion("log_id in", values, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotIn(List<String> values) {
            addCriterion("log_id not in", values, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdBetween(String value1, String value2) {
            addCriterion("log_id between", value1, value2, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotBetween(String value1, String value2) {
            addCriterion("log_id not between", value1, value2, "logId");
            return (Criteria) this;
        }

        public Criteria andAccessIpIsNull() {
            addCriterion("access_ip is null");
            return (Criteria) this;
        }

        public Criteria andAccessIpIsNotNull() {
            addCriterion("access_ip is not null");
            return (Criteria) this;
        }

        public Criteria andAccessIpEqualTo(String value) {
            addCriterion("access_ip =", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpNotEqualTo(String value) {
            addCriterion("access_ip <>", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpGreaterThan(String value) {
            addCriterion("access_ip >", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpGreaterThanOrEqualTo(String value) {
            addCriterion("access_ip >=", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpLessThan(String value) {
            addCriterion("access_ip <", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpLessThanOrEqualTo(String value) {
            addCriterion("access_ip <=", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpLike(String value) {
            addCriterion("access_ip like", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpNotLike(String value) {
            addCriterion("access_ip not like", value, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpIn(List<String> values) {
            addCriterion("access_ip in", values, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpNotIn(List<String> values) {
            addCriterion("access_ip not in", values, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpBetween(String value1, String value2) {
            addCriterion("access_ip between", value1, value2, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessIpNotBetween(String value1, String value2) {
            addCriterion("access_ip not between", value1, value2, "accessIp");
            return (Criteria) this;
        }

        public Criteria andAccessLocationIsNull() {
            addCriterion("access_location is null");
            return (Criteria) this;
        }

        public Criteria andAccessLocationIsNotNull() {
            addCriterion("access_location is not null");
            return (Criteria) this;
        }

        public Criteria andAccessLocationEqualTo(String value) {
            addCriterion("access_location =", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationNotEqualTo(String value) {
            addCriterion("access_location <>", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationGreaterThan(String value) {
            addCriterion("access_location >", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationGreaterThanOrEqualTo(String value) {
            addCriterion("access_location >=", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationLessThan(String value) {
            addCriterion("access_location <", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationLessThanOrEqualTo(String value) {
            addCriterion("access_location <=", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationLike(String value) {
            addCriterion("access_location like", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationNotLike(String value) {
            addCriterion("access_location not like", value, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationIn(List<String> values) {
            addCriterion("access_location in", values, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationNotIn(List<String> values) {
            addCriterion("access_location not in", values, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationBetween(String value1, String value2) {
            addCriterion("access_location between", value1, value2, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andAccessLocationNotBetween(String value1, String value2) {
            addCriterion("access_location not between", value1, value2, "accessLocation");
            return (Criteria) this;
        }

        public Criteria andOperTimeIsNull() {
            addCriterion("oper_time is null");
            return (Criteria) this;
        }

        public Criteria andOperTimeIsNotNull() {
            addCriterion("oper_time is not null");
            return (Criteria) this;
        }

        public Criteria andOperTimeEqualTo(LocalDateTime value) {
            addCriterion("oper_time =", value, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeNotEqualTo(LocalDateTime value) {
            addCriterion("oper_time <>", value, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeGreaterThan(LocalDateTime value) {
            addCriterion("oper_time >", value, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("oper_time >=", value, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeLessThan(LocalDateTime value) {
            addCriterion("oper_time <", value, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("oper_time <=", value, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeIn(List<LocalDateTime> values) {
            addCriterion("oper_time in", values, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeNotIn(List<LocalDateTime> values) {
            addCriterion("oper_time not in", values, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("oper_time between", value1, value2, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("oper_time not between", value1, value2, "operTime");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdIsNull() {
            addCriterion("oper_account_id is null");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdIsNotNull() {
            addCriterion("oper_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdEqualTo(String value) {
            addCriterion("oper_account_id =", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdNotEqualTo(String value) {
            addCriterion("oper_account_id <>", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdGreaterThan(String value) {
            addCriterion("oper_account_id >", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("oper_account_id >=", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdLessThan(String value) {
            addCriterion("oper_account_id <", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdLessThanOrEqualTo(String value) {
            addCriterion("oper_account_id <=", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdLike(String value) {
            addCriterion("oper_account_id like", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdNotLike(String value) {
            addCriterion("oper_account_id not like", value, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdIn(List<String> values) {
            addCriterion("oper_account_id in", values, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdNotIn(List<String> values) {
            addCriterion("oper_account_id not in", values, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdBetween(String value1, String value2) {
            addCriterion("oper_account_id between", value1, value2, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIdNotBetween(String value1, String value2) {
            addCriterion("oper_account_id not between", value1, value2, "operAccountId");
            return (Criteria) this;
        }

        public Criteria andOperAccountIsNull() {
            addCriterion("oper_account is null");
            return (Criteria) this;
        }

        public Criteria andOperAccountIsNotNull() {
            addCriterion("oper_account is not null");
            return (Criteria) this;
        }

        public Criteria andOperAccountEqualTo(String value) {
            addCriterion("oper_account =", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountNotEqualTo(String value) {
            addCriterion("oper_account <>", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountGreaterThan(String value) {
            addCriterion("oper_account >", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountGreaterThanOrEqualTo(String value) {
            addCriterion("oper_account >=", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountLessThan(String value) {
            addCriterion("oper_account <", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountLessThanOrEqualTo(String value) {
            addCriterion("oper_account <=", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountLike(String value) {
            addCriterion("oper_account like", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountNotLike(String value) {
            addCriterion("oper_account not like", value, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountIn(List<String> values) {
            addCriterion("oper_account in", values, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountNotIn(List<String> values) {
            addCriterion("oper_account not in", values, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountBetween(String value1, String value2) {
            addCriterion("oper_account between", value1, value2, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperAccountNotBetween(String value1, String value2) {
            addCriterion("oper_account not between", value1, value2, "operAccount");
            return (Criteria) this;
        }

        public Criteria andOperRealNameIsNull() {
            addCriterion("oper_real_name is null");
            return (Criteria) this;
        }

        public Criteria andOperRealNameIsNotNull() {
            addCriterion("oper_real_name is not null");
            return (Criteria) this;
        }

        public Criteria andOperRealNameEqualTo(String value) {
            addCriterion("oper_real_name =", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameNotEqualTo(String value) {
            addCriterion("oper_real_name <>", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameGreaterThan(String value) {
            addCriterion("oper_real_name >", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("oper_real_name >=", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameLessThan(String value) {
            addCriterion("oper_real_name <", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameLessThanOrEqualTo(String value) {
            addCriterion("oper_real_name <=", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameLike(String value) {
            addCriterion("oper_real_name like", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameNotLike(String value) {
            addCriterion("oper_real_name not like", value, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameIn(List<String> values) {
            addCriterion("oper_real_name in", values, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameNotIn(List<String> values) {
            addCriterion("oper_real_name not in", values, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameBetween(String value1, String value2) {
            addCriterion("oper_real_name between", value1, value2, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperRealNameNotBetween(String value1, String value2) {
            addCriterion("oper_real_name not between", value1, value2, "operRealName");
            return (Criteria) this;
        }

        public Criteria andOperModuleIsNull() {
            addCriterion("oper_module is null");
            return (Criteria) this;
        }

        public Criteria andOperModuleIsNotNull() {
            addCriterion("oper_module is not null");
            return (Criteria) this;
        }

        public Criteria andOperModuleEqualTo(String value) {
            addCriterion("oper_module =", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleNotEqualTo(String value) {
            addCriterion("oper_module <>", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleGreaterThan(String value) {
            addCriterion("oper_module >", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleGreaterThanOrEqualTo(String value) {
            addCriterion("oper_module >=", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleLessThan(String value) {
            addCriterion("oper_module <", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleLessThanOrEqualTo(String value) {
            addCriterion("oper_module <=", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleLike(String value) {
            addCriterion("oper_module like", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleNotLike(String value) {
            addCriterion("oper_module not like", value, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleIn(List<String> values) {
            addCriterion("oper_module in", values, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleNotIn(List<String> values) {
            addCriterion("oper_module not in", values, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleBetween(String value1, String value2) {
            addCriterion("oper_module between", value1, value2, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperModuleNotBetween(String value1, String value2) {
            addCriterion("oper_module not between", value1, value2, "operModule");
            return (Criteria) this;
        }

        public Criteria andOperDetailIsNull() {
            addCriterion("oper_detail is null");
            return (Criteria) this;
        }

        public Criteria andOperDetailIsNotNull() {
            addCriterion("oper_detail is not null");
            return (Criteria) this;
        }

        public Criteria andOperDetailEqualTo(String value) {
            addCriterion("oper_detail =", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailNotEqualTo(String value) {
            addCriterion("oper_detail <>", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailGreaterThan(String value) {
            addCriterion("oper_detail >", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailGreaterThanOrEqualTo(String value) {
            addCriterion("oper_detail >=", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailLessThan(String value) {
            addCriterion("oper_detail <", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailLessThanOrEqualTo(String value) {
            addCriterion("oper_detail <=", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailLike(String value) {
            addCriterion("oper_detail like", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailNotLike(String value) {
            addCriterion("oper_detail not like", value, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailIn(List<String> values) {
            addCriterion("oper_detail in", values, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailNotIn(List<String> values) {
            addCriterion("oper_detail not in", values, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailBetween(String value1, String value2) {
            addCriterion("oper_detail between", value1, value2, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperDetailNotBetween(String value1, String value2) {
            addCriterion("oper_detail not between", value1, value2, "operDetail");
            return (Criteria) this;
        }

        public Criteria andOperActionIsNull() {
            addCriterion("oper_action is null");
            return (Criteria) this;
        }

        public Criteria andOperActionIsNotNull() {
            addCriterion("oper_action is not null");
            return (Criteria) this;
        }

        public Criteria andOperActionEqualTo(String value) {
            addCriterion("oper_action =", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionNotEqualTo(String value) {
            addCriterion("oper_action <>", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionGreaterThan(String value) {
            addCriterion("oper_action >", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionGreaterThanOrEqualTo(String value) {
            addCriterion("oper_action >=", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionLessThan(String value) {
            addCriterion("oper_action <", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionLessThanOrEqualTo(String value) {
            addCriterion("oper_action <=", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionLike(String value) {
            addCriterion("oper_action like", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionNotLike(String value) {
            addCriterion("oper_action not like", value, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionIn(List<String> values) {
            addCriterion("oper_action in", values, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionNotIn(List<String> values) {
            addCriterion("oper_action not in", values, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionBetween(String value1, String value2) {
            addCriterion("oper_action between", value1, value2, "operAction");
            return (Criteria) this;
        }

        public Criteria andOperActionNotBetween(String value1, String value2) {
            addCriterion("oper_action not between", value1, value2, "operAction");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("memo <>", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("memo >=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("memo <=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("memo not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("memo in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("memo not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("memo between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("memo not between", value1, value2, "memo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}